package com.itheima.service;

import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;

/**
 * @author msk
 * @date 2023/12/13 18:46
 * @Description
 */
public interface AccountService {
    //配置当前接口方法具有事务
    @Transactional
    public void transfer(String out,String in ,Double money) throws IOException;
}